package com.lanchetech.bean.vo;

import com.lanchetech.entity.Sku;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * SKU维度的单个商品信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SkuItemVO extends Sku{
    String name;
    String description;
    Long freightId;
    Long shopId;
    Byte type;
    Byte spuHidden;
    Long limitCount;
    /**
     * 新人专区活动价格
     */
    BigDecimal newPrice;
    Integer activityStock;

    private Long spuId;

    public SkuItemVO(String name, String description, Long freightId, Long shopId, Byte type1, Byte spuHidden, Long limitCount) {
        this.name = name;
        this.description = description;
        this.freightId = freightId;
        this.shopId = shopId;
        this.type = type1;
        this.spuHidden = spuHidden;
        this.limitCount = limitCount;
    }

}
